package nl.cmkprojects.sage.slimplayer;

public class ServerState {
  private String mode = "";

  private boolean remote;

  private String artist = "";

  private String title = "";

  private String station = "";

  private String currentTitle = "";

  private boolean powerOn;

  private int volume;

  private int time;

  private int duration;

  public void setStation(String station) {
    this.station = station;
  }

  public String getStation() {
    return station;
  }

  public String getArtist() {
    return artist;
  }

  public void setArtist(String artist) {
    this.artist = artist;
  }

  public String getCurrentTitle() {
    return currentTitle;
  }

  public void setCurrentTitle(String currentTitle) {
    this.currentTitle = currentTitle;
  }

  public String getMode() {
    return mode;
  }

  public void setMode(String mode) {
    this.mode = mode;
  }

  public boolean isPowerOn() {
    return powerOn;
  }

  public void setPowerOn(boolean powerOn) {
    this.powerOn = powerOn;
  }

  public boolean isRemote() {
    return remote;
  }

  public void setRemote(boolean remote) {
    this.remote = remote;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public int getVolume() {
    return volume;
  }

  public void setVolume(int volume) {
    this.volume = volume;
  }

  public boolean isPlaying() {
    return mode.equals("play");
  }

  public void setTime(int time) {
    this.time = time;
  }

  public int getTime() {
    return time;
  }

  public void setDuration(int duration) {
    this.duration = duration;
  }

  public int getDuration() {
    return duration;
  }
}
